package com.hk.commons.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_points_history")
public class PointsHistory implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6256653985294875033L;

	@Id
	private Long id;
	
	/** 用户id **/
	private Long userId;
	
	/** 积分规则id **/
	private Integer pointsId;
	
	/**
	 * 积分
	 */
	private Integer score;
	
	/**
	 * 描述
	 */
	private String historyDesc;
	 
	/** 创建时间 **/
	private Long cts;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getPointsId() {
		return pointsId;
	}

	public void setPointsId(Integer pointsId) {
		this.pointsId = pointsId;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public String getHistoryDesc() {
		return historyDesc;
	}

	public void setHistoryDesc(String historyDesc) {
		this.historyDesc = historyDesc;
	}

	public Long getCts() {
		return cts;
	}

	public void setCts(Long cts) {
		this.cts = cts;
	}	 
}
